package com.example.springboot.pojo;

import java.io.Serializable;

public class Workshop implements Serializable {
    private int id;
    private String name;
    private String state;
    private int equipment_num;
    private String manager;
    private String phone;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getEquipment_num() {
        return equipment_num;
    }

    public void setEquipment_num(int equipment_num) {
        this.equipment_num = equipment_num;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Workshop{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", state='" + state + '\'' +
                ", equipment_num=" + equipment_num +
                ", manager='" + manager + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
